package com.neu.common.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Tree {
    private List<TreeNode> data;

    @Data
    public static class TreeNode{
        private Long id;
        private Long parent;
        private String name;
        private Object source;
        private List<TreeNode> children = new ArrayList<>();
    }
}
